#ifndef CUSTOMLISTWIDGET_H
#define CUSTOMLISTWIDGET_H

#include <QListWidget>
#include <mainwindow.h>

class customListWidget : public QListWidget
{
    Q_OBJECT

public:
    customListWidget(QWidget *parent = 0);

signals:
    void newItemAdded(QListWidgetItem *item);

protected:
    virtual bool dropMimeData(int index, const QMimeData *data, Qt::DropAction action);
    QStringList mimeTypes() const;
    Qt::DropActions supportedDropActions () const;

private:
    MainWindow* window;
};

#endif // CUSTOMLISTWIDGET_H
